package cn.ibizlab.odoo.core.odoo_gamification.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_gamification.domain.Gamification_goal_definition;
import cn.ibizlab.odoo.core.odoo_gamification.filter.Gamification_goal_definitionSearchContext;

/**
 * 实体[Gamification_goal_definition] 服务对象接口
 */

public interface IGamification_goal_definitionService{
     Gamification_goal_definition get(Integer id) ;
     Gamification_goal_definition get(Gamification_goal_definition gamification_goal_definition) ;
     boolean update(Gamification_goal_definition gamification_goal_definition) ;
     boolean create(Gamification_goal_definition gamification_goal_definition) ;
     void createBatch(List<Gamification_goal_definition> gamification_goal_definitions, int batchSize) ;
     boolean remove(Integer id) ;
     void updateBatch(List<Gamification_goal_definition> gamification_goal_definitions, int batchSize) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Gamification_goal_definition> searchDefault(Gamification_goal_definitionSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Gamification_goal_definition> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Gamification_goal_definition> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Gamification_goal_definition convert2Domain(cn.ibizlab.odoo.core.client.model.Igamification_goal_definition model ,Gamification_goal_definition domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Igamification_goal_definition convert2Model(Gamification_goal_definition domain , cn.ibizlab.odoo.core.client.model.Igamification_goal_definition model);

}
